import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/index/index'
import Classroom from '@/pages/classroom/index'
import Found from '@/pages/found/index'
import User from '@/pages/user/index'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    }, {
      path: '/classroom',
      name: 'Classroom',
      component: Classroom
    }, {
      path: '/found',
      name: 'Found',
      component: Found
    }, {
      path: '/user',
      name: 'User',
      component: User
    }
  ]
})
